﻿Imports System.Windows.Forms

Class Wpf32Window
    Implements IWin32Window
    Public ReadOnly Property Handle() As IntPtr Implements IWin32Window.Handle
        Get
            Return m_Handle
        End Get
    End Property
    Private m_Handle As IntPtr

    Public Sub New(wpfWindow As Window)
        m_Handle = New System.Windows.Interop.WindowInteropHelper(wpfWindow).Handle
    End Sub
End Class


